/* Control for LOCKJAW, an implementation of the Soviet Mind Game

Copyright (C) 2006 Damian Yerrick <tepples+lj@spamcop.net>

This work is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Original game concept and design by Alexey Pajitnov.
The Software is not sponsored or endorsed by Alexey Pajitnov, Elorg,
or The Tetris Company LLC.

*/

package fizzpicks.tetrapulp.tetrapulp;


/**
 * Created by will
 * Date: May 3, 2008 6:58:11 AM
 */
public class LJControl {

// The cross-platform parts of the view are stored here
  public LJBits lastKeys, repressKeys;
  public int presses;
  public int dasSpeed;
  public int dasDelay;
  public int dasCounter;
  public int allowDiagonals;
  public int softDropSpeed;
  public int softDropLock;
  public int hardDropLock;
  public int initialDAS;
  public int initialRotate;
  public int countdown;
  public LJReplay replaySrc;
  public LJReplay replayDst;
}

enum VKEY {
    UP,        //0x0001
    DOWN,      //0x0002
    LEFT,      //0x0004
    RIGHT,     //0x0008
    ROTL,      //0x0010
    ROTR,      //0x0020
    HOLD,      //0x0040
    ITEM,      //0x0080
    MACRO,  //(0x100 << (x))
    MACROS,    //0xFF00
    START,     //0x00080000
}

enum LJZANGI {
    SLIDE,
    LOCK,
    LOCK_RELEASE,
}

/* VKEY_MACRO(0) to VKEY_MACRO(7)

Event planners can restrict how many macros a player can use,
so that keyboardists don't have an unfair advantage over
gamepad users.

*/

